package com.gxp.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gxp.common.annotation.Excel;
import com.gxp.common.core.domain.BaseEntity;

/**
 * 角标功能对象 zknj_badge
 * 
 * @author zh
 * @date 2025-06-06
 */
public class ZknjBadge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long zbId;

    /** 接收者 */
    @Excel(name = "接收者")
    private String receiver;

    /** 类别(匹配显示) */
    @Excel(name = "类别(匹配显示)")
    private String entity;

    /** 主题(简略描述) */
    private String title;

    @Excel(name = "描述")
    private String description;

    /** 接收者是否查看（ */
    @Excel(name = "接收者是否查看", readConverterExp = "接收者是否查看（")
    private String status;

    /** 紧急程度(1-5依次递减) */
    @Excel(name = "紧急程度(1-5依次递减)")
    private String urgency;

    /** 目标url */
    private String url;

    public void setZbId(Long zbId) 
    {
        this.zbId = zbId;
    }

    public Long getZbId() 
    {
        return zbId;
    }
    public void setReceiver(String receiver) 
    {
        this.receiver = receiver;
    }

    public String getReceiver() 
    {
        return receiver;
    }
    public void setEntity(String entity)
    {
        this.entity = entity;
    }

    public String getEntity()
    {
        return entity;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setUrgency(String urgency) 
    {
        this.urgency = urgency;
    }

    public String getUrgency() 
    {
        return urgency;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zbId", getZbId())
            .append("createBy", getCreateBy())
            .append("receiver", getReceiver())
            .append("type", getEntity())
            .append("title", getDescription())
            .append("status", getStatus())
            .append("urgency", getUrgency())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
